#!/usr/bin/env python 

""""
Copyright 2010-2011 Vincent Gauthier
Email: vincent.gauthier@telecom-sudparis.eu
"""

# Import Pylab (matplotlib)
import pylab
import numpy

t = numpy.arange(0.0, 2.0, 0.01)
s = numpy.sin(2*numpy.pi*t)

# Plot Figure
pylab.plot(t, s, linewidth=1.0)

# Plot Axis, Title, .....
pylab.xlabel('time (s)')
pylab.ylabel('voltage (mV)')
pylab.title('About as simple as it gets, folks')
pylab.grid(True)

# Save figure as an image file and show
#pylab.savefig("fig.png")
pylab.show()